home *** CD-ROM | disk | FTP | other *** search
/ Libris Britannia 4 / science library(b).zip / science library(b) / PROGRAMM / DB_CLIPP / 0643C.ZIP / DCRUNCH.DOC < prev    next >
Text File  |  1987-05-31  |  2KB  |  40 lines

  1. dCRUNCH.COM was written by Jon Wind on 2/19/87.
  2.  
  3. It will take dBASE III program files and trim most commands to four
  4. letters, removing comments, blank lines, trailing spaces, and all
  5. indentation, creating new files with extensions of ".DB3".  These
  6. files may be directed to any drive or directory.  Use /e to enable
  7. automatic overwriting; /d to current line updates; /t to trim commands
  8. only (indentation and comments are retained).  Filename ext defaults
  9. to PRG.  Processing may be aborted with a ^C (or Break).
  10.  
  11. dCRUNCH should be used to create a smaller, faster set of run time
  12. files.  Keep another set of commented, properly indented files for
  13. reference.
  14.  
  15. You have the option of placing one dBASE III program file on the
  16. command line, or placing several in a separate script file which
  17. will be read, line by line, by dCRUNCH.COM.  Program files may not
  18. have extensions of DB3.
  19.  
  20. Script files must also be text files with only one filename per line.
  21. dCRUNCH.COM will ignore leading spaces and blank lines.  The first
  22. entry in a line is assumed to be the dBASE III file.
  23.  
  24. I've found the easiest way to create scripts is to use DOS redirection
  25. with the DIR command.  The DOS command "dir p???.prg > test" would
  26. generate a file called TEST which may then be used as a script file
  27. to convert all of my command files which begin with P.
  28.  
  29.  
  30.     dCRUNCH d:\path\filename.ext [d:\outpath] [/e] [/d] [/t]
  31.     dCRUNCH $ d:\path\scriptname.ext [d:\outpath] [/e] [/d] [/t]
  32.  
  33.  
  34. * dCRUNCH.COM was written in Turbo Pascal on an AT&T PC6300.  Source
  35.   code, such as it is, is available upon request.
  36.  
  37.  
  38. COMPUSERVE: 70167,3444 or 72245,1553 - GENIE: JWIND - MCIMAIL: JWIND
  39.  
  40.